package cn.jieruoda.eb.user.domain.repository;

import cn.jieruoda.eb.user.domain.entity.UserExtract;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserExtractRepository extends JpaRepository<UserExtract, Integer> {
    List<UserExtract> findByUidAndStatus(Integer uid, Integer status);
    List<UserExtract> findByExtractTypeAndStatus(String extractType, Integer status);
} 